package com.quanyan.user.model.vo.request;

import com.quanyan.BaseRequest;

import java.io.Serializable;

/**
 * 用户登录请求VO
 * <p>
 * Created by huadongyang on 2016/11/14.
 */
public class ReqUserLogin extends BaseRequest implements Serializable {
    private static final long serialVersionUID = 8267115560330851044L;
    /**
     * 第三方返回的openid  手机号登录该字段可不填
     */
    private String openid;

    /**
     * 手机号  第三方登录可不填该字段
     */
    private String phone;

    /**
     * 用户密码 sha1加密
     */
    private String password;

    /**
     * 登录方式 1：手机号和密码 2：微信 3：QQ 4:微博 5：手机号和验证码
     */
    private Byte type;

    /**
     * 来源渠道
     */
    private String sourceChannel;

    /**
     * 纬度
     */
    private Double lat;

    /**
     * 经度
     */
    private Double lng;

    /**
     * 渠道号
     */
    private String regChannel;

    /**
     * 第三方昵称
     */
    private String thirdNickname;

    /**
     * 第三方图像
     */
    private String thirdIcon;

    /**
     * 第三方性别 0：男 1：女
     */
    private Byte thirdGender;

    /**
     * 微信Unionid
     */
    private String wechatUnionid;

    /**
     * 登录阶段 (1 2 3)
     */
    private Byte stage;

    /**
     * 第三方第三阶段登录操作类型 1:注册（错误码-153时发送） 2：绑定手机（错误码-154时发送）
     */
    private Byte thirdCmdType;

    /**
     * 手机验证码
     */
    private String validCode;

    /**
     * 个推clientId
     */
    private String clientId;

    /**
     * 终端tocken
     */
    private String devToken;

    /**
     * 操作类型：1 验证第三方账号绑定情况，2 绑定第三方账号，3 解绑第三方账号
     */
    private int operateType;

    private String appChannel;

    private int uid;

    private String userCookiesName;

    /**
     * 设备类型：1：iOS；2：Android；3：H5
     */
    private int devType;

    /**
     * 设备
     */
    private String idfa;

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public String getSourceChannel() {
        return sourceChannel;
    }

    public void setSourceChannel(String sourceChannel) {
        this.sourceChannel = sourceChannel;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public String getRegChannel() {
        return regChannel;
    }

    public void setRegChannel(String regChannel) {
        this.regChannel = regChannel;
    }

    public String getThirdNickname() {
        return thirdNickname;
    }

    public void setThirdNickname(String thirdNickname) {
        this.thirdNickname = thirdNickname;
    }

    public String getThirdIcon() {
        return thirdIcon;
    }

    public void setThirdIcon(String thirdIcon) {
        this.thirdIcon = thirdIcon;
    }

    public Byte getThirdGender() {
        return thirdGender;
    }

    public void setThirdGender(Byte thirdGender) {
        this.thirdGender = thirdGender;
    }

    public String getWechatUnionid() {
        return wechatUnionid;
    }

    public void setWechatUnionid(String wechatUnionid) {
        this.wechatUnionid = wechatUnionid;
    }

    public Byte getStage() {
        return stage;
    }

    public void setStage(Byte stage) {
        this.stage = stage;
    }

    public Byte getThirdCmdType() {
        return thirdCmdType;
    }

    public void setThirdCmdType(Byte thirdCmdType) {
        this.thirdCmdType = thirdCmdType;
    }

    public String getValidCode() {
        return validCode;
    }

    public void setValidCode(String validCode) {
        this.validCode = validCode;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getDevToken() {
        return devToken;
    }

    public void setDevToken(String devToken) {
        this.devToken = devToken;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getOperateType() {
        return operateType;
    }

    public void setOperateType(int operateType) {
        this.operateType = operateType;
    }

    public String getUserCookiesName() {
        return userCookiesName;
    }

    public void setUserCookiesName(String userCookiesName) {
        this.userCookiesName = userCookiesName;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getAppChannel() {
        return appChannel;
    }

    public void setAppChannel(String appChannel) {
        this.appChannel = appChannel;
    }

    public int getDevType() {
        return devType;
    }

    public void setDevType(int devType) {
        this.devType = devType;
    }

    public String getIdfa() {
        return idfa;
    }

    public void setIdfa(String idfa) {
        this.idfa = idfa;
    }
}
